import java.io.FileNotFoundException;
import java.io.IOException;
import java.sql.SQLException;

import javax.xml.parsers.ParserConfigurationException;

import org.xml.sax.SAXException;

import MediatorDataDictionary.Mediator;

public class Main {

	public static void main(String[] args) throws FileNotFoundException,
			SAXException, IOException, ParserConfigurationException,
			SQLException {
		Mediator mediateur = new Mediator();
		mediateur.getNbHeures("Univ_BD_3.xml");
		try {
			mediateur.getNbEtudiantsProvenance("Univ_BD_3.xml", "France");
			mediateur.getNbCoursParType("Univ_BD_3.xml");
		} catch (ClassNotFoundException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (SQLException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}

	}
}
